title = title + ELLIPSIS_CHAR;
}
return title;
- },
-
- canClose() {
- return isToday(this._date);
}
});
if (this._destroyId)
this.notification.disconnect(this._destroyId);
this._destroyId = 0;
+ },
+
+ canClose() {
+ return true;
}
});
this._appInstalledChanged();
},
- _ignoreEvent(event) {
- this._eventSource.ignoreEvent(event);
- },
-
setEventSource(eventSource) {
this._eventSource = eventSource;
this._eventSource.connect('changed', this._reloadEvents.bind(this));
let message = this._messageById.get(event.id);
if (!message) {
message = new EventMessage(event, this._date);
- message.connect('close', () => {
- this._ignoreEvent(event);
- });
this._messageById.set(event.id, message);
this.addMessage(message, false);
} else {